package com.bestcem.xm.member.service.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 示例服务
 *
 * @author yf.wang <yf.wang@idiaoyan.com>
 * @version V1.0
 * @date 2021/8/28
 */
@Getter
@Setter
@ToString
public class GroupDTO {

    private String id;

    @JSONField(name = "_ancestors")
    private List<String> ancestors;

    @JSONField(name = "parentID")
    private String  parentId;

    @JSONField(name = "rootID")
    private String rootId;

    @JSONField(name = "is_root")
    private Boolean isRoot;

    @JSONField(name = "orgID")
    private String orgId;

    @JSONField(name = "code")
    private String code;

    @JSONField(name = "seq")
    private Integer seq;

    @JSONField(name = "title")
    private String title;

    @JSONField(name = "groupType")
    private Integer groupType;

    @JSONField(name = "groupLevelID")
    private String groupLevelId;

    @JSONField(name = "status")
    private Integer status;

    @JSONField(name = "contact")
    private String contact;

    @JSONField(name = "email")
    private String email;

    @JSONField(name = "_children_order")
    private List<Integer> childrenOrders;

    @JSONField(name = "adminID")
    private String adminId;

    @JSONField(name = "adminName")
    private String adminName;
}
